package com.umpay.dto.merBusi.req.consume;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *  
 * @ClassName: ConsumeFinishOrderReq  
 * @Description: 消费完成订单 
 * @author zhangtao  
 * @date Jun 7, 2018
 */
public class ConsumeFinishOrderBusiReq extends CommonBusiReq {
	/**
	 * 商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message = "商户号格式不正确")
	private String merId;
	
	/**
	 * 联动订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String tradeNo;
	
	/**
	 * 原分账明细订单号
	 */
	@Pattern(message = "原分账明细订单号格式不正确")
	private String splitOrderId;
	
	/**
	 * 原分账明细订单日期
	 */
	@Pattern(message = "商户订单日期格式不正确")
	private String splitOrderDate;
	
	/**
	 * 业务产品号
	 */
	@NotEmpty(message = "业务产品号不能为空")
	@Pattern(message="业务产品号格式不正确")
	private String bproductId;

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getSplitOrderId() {
		return splitOrderId;
	}

	public void setSplitOrderId(String splitOrderId) {
		this.splitOrderId = splitOrderId;
	}

	public String getSplitOrderDate() {
		return splitOrderDate;
	}

	public void setSplitOrderDate(String splitOrderDate) {
		this.splitOrderDate = splitOrderDate;
	}

	public String getBproductId() {
		return bproductId;
	}

	public void setBproductId(String bproductId) {
		this.bproductId = bproductId;
	}

	@Override
	public String toString() {
		return "ConsumeFinishOrderBusiReq [merId=" + merId + ", tradeNo=" + tradeNo + ", splitOrderId=" + splitOrderId
				+ ", splitOrderDate=" + splitOrderDate + ", bproductId=" + bproductId + ", rpid=" + rpid + ", version="
				+ version + ", reqDate=" + reqDate + ", reqTime=" + reqTime + "]";
	}

	
}
